{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}D:\Dropbox\Dropbox\Lueck and Parker\JAERE submission\Final Version 2024\Data and Code for Replication\Log Files\Tables 1, 2 and A2-A7 and Figure A2.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 5 Nov 2024, 12:55:21

{com}. do "D:\Dropbox\Dropbox\Lueck and Parker\JAERE submission\Final Version 2024\Data and Code for Replication\Hazard_Agencies.do"
{txt}
{com}. *Description: See README File
. 
. clear
{txt}
{com}. use "D:\Dropbox\Dropbox\Lueck and Parker\JAERE submission\Final Version 2024\Data and Code for Replication\organization1860_1920.dta"
{txt}
{com}. 
. joinby STATEFIP year using "D:\Dropbox\Dropbox\Lueck and Parker\JAERE submission\Final Version 2024\Data and Code for Replication\panel1860_1920.dta", unmatched(master) _merge(_merge)
{txt}
{com}. 
. *Interpolating data for within decades to create annual panel for 1860-1920
. 
. bysort STATEFIP: ipolate farms_ year, g(farms_ipo)
{txt}(150 missing values generated)

{com}. bysort STATEFIP: ipolate facres_ year, g(facres_ipo)
{txt}(150 missing values generated)

{com}. bysort STATEFIP: ipolate avfsize_ year, g(avfsize_ipo)
{txt}(150 missing values generated)

{com}. bysort STATEFIP: ipolate farm500_ year, g(farm500_ipo)
{txt}(150 missing values generated)

{com}. bysort STATEFIP: ipolate farm1000_ year, g(farm1000_ipo)
{txt}(150 missing values generated)

{com}. bysort STATEFIP: ipolate pop_ year, g(pop_ipo)
{txt}(540 missing values generated)

{com}. bysort STATEFIP: ipolate fiacres_ year, g(fiacres_ipo)
{txt}(150 missing values generated)

{com}. bysort STATEFIP: ipolate area_ year, g(area_ipo)
{txt}(560 missing values generated)

{com}. bysort STATEFIP: ipolate natpop_ year, g(natpop_ipo)
{txt}(140 missing values generated)

{com}. bysort STATEFIP: ipolate urb100k year, g(urb100k_ipo)
{txt}
{com}. bysort STATEFIP: ipolate prurb100k year, g(prurb100k_ipo)
{txt}
{com}. 
. *Labeling Variables
. label var farms_ipo "# of farms"
{txt}
{com}. label var facres_ipo "# of acres in farms"
{txt}
{com}. label var avfsize_ipo "mean farm size"
{txt}
{com}. label var farm500_ipo "# of farms greater than 500 acres"
{txt}
{com}. label var farm1000_ipo "# of farms greater than 1000 acres"
{txt}
{com}. label var pop_ipo "population"
{txt}
{com}. label var fiacres_ipo "improved farm acres"
{txt}
{com}. label var area_ipo "state total land acres"
{txt}
{com}. label var natpop_ipo "native (US) born population"
{txt}
{com}. label var urb100k_ipo "population in cities > 100k pop"
{txt}
{com}. label var prurb100k_ipo "% of population in cities > 100k pop"
{txt}
{com}. 
. *Joining with Agency Formation Years 
. drop _merge
{txt}
{com}. 
. 
. joinby state using "D:\Dropbox\Dropbox\Lueck and Parker\JAERE submission\Final Version 2024\Data and Code for Replication\Agency_Form_Years.dta", unmatched(master) _merge(_merge)
{txt}
{com}. drop _merge
{txt}
{com}. 
. *Generating variables for non farm acres and unimproved farm acres
. gen nfacres_ipo=totacres-facres_ipo
{txt}(150 missing values generated)

{com}. gen fuiacres_ipo=facres_ipo-fiacres_ipo
{txt}(150 missing values generated)

{com}. gen nfacres_ = totacres-facres_
{txt}(2,607 missing values generated)

{com}. gen fuiacres_=facres_-fiacres_
{txt}(2,607 missing values generated)

{com}. 
. gen lnnfacres_ipo=ln(nfacres_ipo)
{txt}(155 missing values generated)

{com}. gen lnfiacres_ipo=ln(fiacres_ipo)
{txt}(150 missing values generated)

{com}. gen lnfuiacres_ipo = ln(fuiacres_ipo)
{txt}(150 missing values generated)

{com}. gen lnfacres_ipo=ln(facres_ipo)
{txt}(150 missing values generated)

{com}. gen lnpop_ipo=ln(pop_ipo)
{txt}(540 missing values generated)

{com}. gen lnfarm500_ipo=ln(farm500_ipo +1)
{txt}(150 missing values generated)

{com}. gen lnavfsize_ipo=ln(avfsize_ipo)
{txt}(150 missing values generated)

{com}. gen lnfarm1000_ipo=ln(farm1000_ipo + 1)
{txt}(150 missing values generated)

{com}. gen lnprecip=ln(precip_inch)
{txt}
{com}. gen lnmeanelev=ln(mean_elev_ft)
{txt}
{com}. gen lnelevspan=ln(elev_span_ft)
{txt}
{com}. gen perfiacres_ipo=(fiacres_ipo/totacres)
{txt}(150 missing values generated)

{com}. gen perfuiacres_ipo=(fuiacres_ipo/totacres)
{txt}(150 missing values generated)

{com}. gen lntotacres=ln(totacres)
{txt}
{com}. gen pernat_ipo =natpop_ipo/pop_ipo
{txt}(540 missing values generated)

{com}. 
. *Creating Hazard Framework*
. drop if year<1870
{txt}(480 observations deleted)

{com}. stset year, id(STATEFIP) failure(wildlife==1)

                {txt}id:  {res}STATEFIP
     {txt}failure event:  {res}wildlife == 1
{txt}obs. time interval:  {res}(year[_n-1], year]
{txt} exit on or before:  {res}failure

{txt}{hline 78}
{res}      2,448{txt}  total observations
{res}      1,052{txt}  observations begin on or after (first) failure
{hline 78}
{res}      1,396{txt}  observations remaining, representing
{res}         48{txt}  subjects
{res}         47{txt}  failures in single-failure-per-subject data
{res}     91,108{txt}  total analysis time at risk and under observation
                                                at risk from t = {res}        0
                                     {txt}earliest observed entry t = {res}        0
                                          {txt}last observed exit t = {res}    1,920
{txt}
{com}. 
. *Generating 1890 census regions*
. *Minor Divisions in 1890 Census*
. 
. gen region1=0
{txt}
{com}. replace region1=1 if state=="Connecticut"|state=="Maine"|state=="New Hampshire"|state=="Vermont"|state=="Massachusetts"|state=="Rhode Island"
{txt}(306 real changes made)

{com}. replace region1=2 if state=="New Jersey"|state=="New York"|state=="Pennsylvania"
{txt}(153 real changes made)

{com}. replace region1=3 if state=="Illinois"|state=="Indiana"|state=="Michigan"|state=="Ohio"|state=="Wisconsin"
{txt}(255 real changes made)

{com}. replace region1=4 if state=="Iowa"|state=="Kansas"|state=="Minnesota"|state=="Missouri"|state=="Nebraska"|state=="North Dakota"|state=="South Dakota"
{txt}(357 real changes made)

{com}. replace region1=5 if state=="Delaware"|state=="Virginia"|state=="Florida"|state=="Georgia"|state=="North Carolina"|state=="South Carolina"|state=="Maryland"|state=="West Virginia"
{txt}(408 real changes made)

{com}. replace region1=6 if state=="Alabama"|state=="Mississippi"|state=="Kentucky"|state=="Tennessee"
{txt}(204 real changes made)

{com}. replace region1=7 if state=="Arkansas"|state=="Louisiana"|state=="Texas"|state=="Oklahoma"
{txt}(204 real changes made)

{com}. replace region1=8 if state=="Arizona"|state=="Colorado"|state=="Idaho"|state=="Montana"|state=="Nevada"|state=="New Mexico"|state=="Utah"|state=="Wyoming"
{txt}(408 real changes made)

{com}. replace region1=9 if state=="California"|state=="Oregon"|state=="Washington"
{txt}(153 real changes made)

{com}. 
. tab region1, gen(reg1)

    {txt}region1 {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        306       12.50       12.50
{txt}          2 {c |}{res}        153        6.25       18.75
{txt}          3 {c |}{res}        255       10.42       29.17
{txt}          4 {c |}{res}        357       14.58       43.75
{txt}          5 {c |}{res}        408       16.67       60.42
{txt}          6 {c |}{res}        204        8.33       68.75
{txt}          7 {c |}{res}        204        8.33       77.08
{txt}          8 {c |}{res}        408       16.67       93.75
{txt}          9 {c |}{res}        153        6.25      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,448      100.00
{txt}
{com}. 
. *Major Divisions in 1890 Census*
. *1 = North Atlantic: ME, NH, NH, VT, MA, RI, CT, NY, NJ, PA
. *2 = South Atlantic: DE, MD, DC, VA, WV, NC, SC, GA, FL
. *3 = North Central: OH, IN, IL, MI, WI, MN, IA, MO, SD, ND, NE, KS
. *4 = South Central: KY, TN, AL, MS, LA, TX, OK, AR
. *5 = Western:  MT, WY, CO, NM, AZ, UT, NV, ID, WA, OR, CA
. 
. gen region2=0
{txt}
{com}. replace region2=1 if region1==1|region1==2
{txt}(459 real changes made)

{com}. replace region2=2 if region1==3|region1==4
{txt}(612 real changes made)

{com}. replace region2=3 if region1==5
{txt}(408 real changes made)

{com}. replace region2=4 if region1==6|region1==7
{txt}(408 real changes made)

{com}. replace region2=5 if region1==8|region1==9
{txt}(561 real changes made)

{com}. 
. tab region2, gen(reg2)

    {txt}region2 {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}        459       18.75       18.75
{txt}          2 {c |}{res}        612       25.00       43.75
{txt}          3 {c |}{res}        408       16.67       60.42
{txt}          4 {c |}{res}        408       16.67       77.08
{txt}          5 {c |}{res}        561       22.92      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,448      100.00
{txt}
{com}. 
. *Generating Sportsman Group Time-Invariant Variable
. gen sportgr_1891=0
{txt}
{com}. replace sportgr_1891=1 if state=="California"|state=="Connecticut"|state=="Delaware"|state=="Illinois"|state=="Indiana"|state=="Massachusetts"|state=="Michigan"|state=="Missouri"|state=="Nebraska"|state=="New York"|state=="Oregon"|state=="Texas"
{txt}(612 real changes made)

{com}. label var sportgr_1891 "statewide interest group exists in 1891, according to Tober 1981"
{txt}
{com}. 
. gen sportgr_1870s =0
{txt}
{com}. replace sportgr_1870s=1 if state=="California"|state=="Connecticut"|state=="Delaware"|state=="Kansas"|state=="Kentucky"|state=="Illinois"|state=="Iowa"|state=="Maine"|state=="Maryland"|state=="Massachusetts"|state=="Michigan"|state=="Minnesota"|state=="Missouri"|state=="Nebraska"|state=="New Hampshire"|state=="Ohio"|state=="Pennsylvania"|state=="Rhode Island"|state=="Tennessee"|state=="Vermont"|state=="Virginia"
{txt}(1,071 real changes made)

{com}. label var sportgr_1870s "statewide interest group formed during 1870s, according to Tober 1981"
{txt}
{com}. 
. gen sportsgr_any=0
{txt}
{com}. replace sportsgr_any =1 if sportgr_1870s==1|sportgr_1891==1 
{txt}(1,275 real changes made)

{com}. 
. gen numb_agen_nw = ag + parks + health + forests + fish   
{txt}
{com}. 
. stset year, id(STATEFIP) failure(wildlife==1)

                {txt}id:  {res}STATEFIP
     {txt}failure event:  {res}wildlife == 1
{txt}obs. time interval:  {res}(year[_n-1], year]
{txt} exit on or before:  {res}failure

{txt}{hline 78}
{res}      2,448{txt}  total observations
{res}      1,052{txt}  observations begin on or after (first) failure
{hline 78}
{res}      1,396{txt}  observations remaining, representing
{res}         48{txt}  subjects
{res}         47{txt}  failures in single-failure-per-subject data
{res}     91,108{txt}  total analysis time at risk and under observation
                                                at risk from t = {res}        0
                                     {txt}earliest observed entry t = {res}        0
                                          {txt}last observed exit t = {res}    1,920
{txt}
{com}. 
. *Creating time variant measure for number of neighboring states with a wildlife agency 
. 
. bys year region1: egen wild_sum = sum(wildlife)
{txt}
{com}. replace wild_sum=0 if wild_sum==.
{txt}(0 real changes made)

{com}. gen propwild_sum=0
{txt}
{com}. replace propwild_sum=wild_sum/6 if region1==1
{txt}(270 real changes made)

{com}. replace propwild_sum=wild_sum/3 if region1==2
{txt}(99 real changes made)

{com}. replace propwild_sum=wild_sum/5 if region1==3
{txt}(175 real changes made)

{com}. replace propwild_sum=wild_sum/7 if region1==4
{txt}(210 real changes made)

{com}. replace propwild_sum=wild_sum/4 if region1==6
{txt}(72 real changes made)

{com}. replace propwild_sum=wild_sum/4 if region1==7
{txt}(88 real changes made)

{com}. replace propwild_sum=wild_sum/8 if region1==8
{txt}(272 real changes made)

{com}. replace propwild_sum=wild_sum/3 if region1==9
{txt}(129 real changes made)

{com}. 
. *Scaling the farm acre, population, and percent urban and native born variables for Summary Statistic Table
. gen nfacres000=nfacres_ipo/1000
{txt}(60 missing values generated)

{com}. gen fiacres000=fiacres_ipo/1000
{txt}(60 missing values generated)

{com}. gen fuiacres000=fuiacres_ipo/1000
{txt}(60 missing values generated)

{com}. gen pop000 = pop_ipo/1000
{txt}(60 missing values generated)

{com}. replace prurb100k_ipo=prurb100k_ipo*100
{txt}(1,080 real changes made)

{com}. replace pernat_ipo = pernat_ipo*100
{txt}(2,388 real changes made)

{com}. 
. *Table A2: Summary Statistics
. sum nfacres000 fiacres000 fuiacres000 farm1000_ipo farm500_ipo avfsize_ipo pop000 prurb100k_ipo pernat_ipo sportsgr_any  propwild_sum numb_agen_nw precip_inch mean_elev_ft if _st ==1  & lnnfacres_ipo~=.

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}nfacres000 {c |}{res}      1,336     26175.1    28453.11    162.307   151603.5
{txt}{space 2}fiacres000 {c |}{res}      1,336    6930.458    6696.623       .338   28556.96
{txt}{space 1}fuiacres000 {c |}{res}      1,336    7006.504    10255.92      4.003   106230.9
{txt}farm1000_ipo {c |}{res}      1,336     704.484    1282.867          0      11220
{txt}{space 1}farm500_ipo {c |}{res}      1,336    1789.741    2068.186          0      12038
{txt}{hline 13}{c +}{hline 57}
{space 1}avfsize_ipo {c |}{res}      1,336    183.6551     173.405   24.80571       1301
{txt}{space 6}pop000 {c |}{res}      1,336    1194.536    1089.544      9.118   5814.856
{txt}prurb100k_~o {c |}{res}      1,336    5.855069    10.55429          0   43.71777
{txt}{space 2}pernat_ipo {c |}{res}      1,336    86.74098    11.92122   39.85297   99.77119
{txt}sportsgr_any {c |}{res}      1,336    .4850299     .499963          0          1
{txt}{hline 13}{c +}{hline 57}
propwild_sum {c |}{res}      1,336      .12626    .2391557          0          1
{txt}numb_agen_nw {c |}{res}      1,336    1.797156    1.153412          0          5
{txt}{space 1}precip_inch {c |}{res}      1,336     38.6887    14.85874        9.5       60.1
{txt}mean_elev_ft {c |}{res}      1,336    1684.184    1891.213         60       6800
{txt}
{com}. 
. *Table 1: Duration estimates*
. eststo clear  
{txt}
{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any,  nohr robust
{txt}({res}est1{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any lnprecip lnmeanelev,  nohr robust
{txt}({res}est2{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19,  nohr robust
{txt}({res}est3{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any lnprecip lnmeanelev reg12-reg19,  nohr robust
{txt}({res}est4{txt} stored)

{com}. esttab, se(%6.3f) b(%6.3f) star(* 0.1 ** 0.05 *** 0.01) keep(propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo) 
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}                       _t              _t              _t              _t   
{txt}{hline 76}
{txt}propwild_sum{res}        1.777***        1.752***        2.061***        2.307***{txt}
            {res} {ralign 12:{txt:(}0.572{txt:)}}    {ralign 12:{txt:(}0.636{txt:)}}    {ralign 12:{txt:(}0.774{txt:)}}    {ralign 12:{txt:(}0.773{txt:)}}   {txt}

{txt}numb_agen_nw{res}        0.521**         0.603***        0.699**         0.689** {txt}
            {res} {ralign 12:{txt:(}0.211{txt:)}}    {ralign 12:{txt:(}0.207{txt:)}}    {ralign 12:{txt:(}0.272{txt:)}}    {ralign 12:{txt:(}0.278{txt:)}}   {txt}

{txt}lnfuiacres~o{res}        0.943*          0.938*          1.960**         2.181** {txt}
            {res} {ralign 12:{txt:(}0.487{txt:)}}    {ralign 12:{txt:(}0.491{txt:)}}    {ralign 12:{txt:(}0.778{txt:)}}    {ralign 12:{txt:(}0.880{txt:)}}   {txt}

{txt}lnfarm1000~o{res}       -0.568**        -0.521*         -1.540***       -1.380***{txt}
            {res} {ralign 12:{txt:(}0.289{txt:)}}    {ralign 12:{txt:(}0.304{txt:)}}    {ralign 12:{txt:(}0.374{txt:)}}    {ralign 12:{txt:(}0.371{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         1336            1336            1336            1336   {txt}
{txt}{hline 76}
{txt}Standard errors in parentheses
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. *Figure A2, baseline hazard
. quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any,  nohr robust
{txt}
{com}. stcurve, hazard
{res}{txt}
{com}. 
. *Table A3: Duration estimates with all coefficients*
. eststo clear  
{txt}
{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any,  nohr robust
{txt}({res}est1{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any lnprecip lnmeanelev,  nohr robust
{txt}({res}est2{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19,  nohr robust
{txt}({res}est3{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any lnprecip lnmeanelev reg12-reg19,  nohr robust
{txt}({res}est4{txt} stored)

{com}. esttab, se(%6.3f) b(%6.3f) star(* 0.1 ** 0.05 *** 0.01) keep(propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any lnprecip lnmeanelev) 
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}                       _t              _t              _t              _t   
{txt}{hline 76}
{txt}propwild_sum{res}        1.777***        1.752***        2.061***        2.307***{txt}
            {res} {ralign 12:{txt:(}0.572{txt:)}}    {ralign 12:{txt:(}0.636{txt:)}}    {ralign 12:{txt:(}0.774{txt:)}}    {ralign 12:{txt:(}0.773{txt:)}}   {txt}

{txt}numb_agen_nw{res}        0.521**         0.603***        0.699**         0.689** {txt}
            {res} {ralign 12:{txt:(}0.211{txt:)}}    {ralign 12:{txt:(}0.207{txt:)}}    {ralign 12:{txt:(}0.272{txt:)}}    {ralign 12:{txt:(}0.278{txt:)}}   {txt}

{txt}lnfuiacres~o{res}        0.943*          0.938*          1.960**         2.181** {txt}
            {res} {ralign 12:{txt:(}0.487{txt:)}}    {ralign 12:{txt:(}0.491{txt:)}}    {ralign 12:{txt:(}0.778{txt:)}}    {ralign 12:{txt:(}0.880{txt:)}}   {txt}

{txt}lnfarm1000~o{res}       -0.568**        -0.521*         -1.540***       -1.380***{txt}
            {res} {ralign 12:{txt:(}0.289{txt:)}}    {ralign 12:{txt:(}0.304{txt:)}}    {ralign 12:{txt:(}0.374{txt:)}}    {ralign 12:{txt:(}0.371{txt:)}}   {txt}

{txt}lnfiacres_~o{res}       -0.065           0.050           0.827           0.945   {txt}
            {res} {ralign 12:{txt:(}0.253{txt:)}}    {ralign 12:{txt:(}0.330{txt:)}}    {ralign 12:{txt:(}0.730{txt:)}}    {ralign 12:{txt:(}0.820{txt:)}}   {txt}

{txt}lnnfacres_~o{res}        0.011           0.116           0.015           0.024   {txt}
            {res} {ralign 12:{txt:(}0.192{txt:)}}    {ralign 12:{txt:(}0.225{txt:)}}    {ralign 12:{txt:(}0.438{txt:)}}    {ralign 12:{txt:(}0.411{txt:)}}   {txt}

{txt}lnpop_ipo   {res}       -0.028          -0.617          -0.370          -1.038   {txt}
            {res} {ralign 12:{txt:(}0.488{txt:)}}    {ralign 12:{txt:(}0.589{txt:)}}    {ralign 12:{txt:(}1.013{txt:)}}    {ralign 12:{txt:(}1.458{txt:)}}   {txt}

{txt}prurb100k_~o{res}        0.009           0.022           0.045           0.048   {txt}
            {res} {ralign 12:{txt:(}0.022{txt:)}}    {ralign 12:{txt:(}0.024{txt:)}}    {ralign 12:{txt:(}0.029{txt:)}}    {ralign 12:{txt:(}0.034{txt:)}}   {txt}

{txt}pernat_ipo  {res}       -0.036          -0.064**        -0.023          -0.054   {txt}
            {res} {ralign 12:{txt:(}0.023{txt:)}}    {ralign 12:{txt:(}0.027{txt:)}}    {ralign 12:{txt:(}0.044{txt:)}}    {ralign 12:{txt:(}0.043{txt:)}}   {txt}

{txt}sportsgr_any{res}       -0.338          -0.273          -1.103**        -0.633   {txt}
            {res} {ralign 12:{txt:(}0.368{txt:)}}    {ralign 12:{txt:(}0.388{txt:)}}    {ralign 12:{txt:(}0.477{txt:)}}    {ralign 12:{txt:(}0.687{txt:)}}   {txt}

{txt}lnprecip    {res}                        2.748***                        2.367   {txt}
            {res}                 {ralign 12:{txt:(}1.065{txt:)}}                    {ralign 12:{txt:(}2.192{txt:)}}   {txt}

{txt}lnmeanelev  {res}                        0.796*                          0.099   {txt}
            {res}                 {ralign 12:{txt:(}0.435{txt:)}}                    {ralign 12:{txt:(}0.523{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         1336            1336            1336            1336   {txt}
{txt}{hline 76}
{txt}Standard errors in parentheses
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. *Table A4: Robustness with different measures of farm size
. eststo clear  
{txt}
{com}. eststo: quietly stcox lnnfacres_ipo lnfiacres_ipo lnfuiacres_ipo lnfarm1000_ipo  lnpop_ipo prurb100k_ipo pernat_ipo propwild_sum numb_agen_nw sportsgr_any reg12-reg19,  nohr robust
{txt}({res}est1{txt} stored)

{com}. eststo: quietly stcox lnnfacres_ipo lnfiacres_ipo lnfuiacres_ipo lnfarm500_ipo  lnpop_ipo prurb100k_ipo pernat_ipo propwild_sum numb_agen_nw sportsgr_any reg12-reg19,  nohr robust
{txt}({res}est2{txt} stored)

{com}. eststo: quietly stcox lnnfacres_ipo lnfiacres_ipo lnfuiacres_ipo lnavfsize_ipo  lnpop_ipo prurb100k_ipo pernat_ipo propwild_sum numb_agen_nw sportsgr_any reg12-reg19,  nohr robust
{txt}({res}est3{txt} stored)

{com}. eststo: quietly stcox lnnfacres_ipo lnfiacres_ipo lnfuiacres_ipo lnfarm1000_ipo lnfarm500_ipo lnpop_ipo prurb100k_ipo pernat_ipo propwild_sum numb_agen_nw sportsgr_any reg12-reg19,  nohr robust
{txt}({res}est4{txt} stored)

{com}. eststo: quietly stcox lnnfacres_ipo lnfiacres_ipo lnfuiacres_ipo lnfarm1000_ipo lnavfsize_ipo lnpop_ipo prurb100k_ipo pernat_ipo propwild_sum numb_agen_nw sportsgr_any reg12-reg19,  nohr robust
{txt}({res}est5{txt} stored)

{com}. eststo: quietly stcox lnnfacres_ipo lnfiacres_ipo lnfuiacres_ipo lnfarm500_ipo lnavfsize_ipo  lnpop_ipo prurb100k_ipo pernat_ipo propwild_sum numb_agen_nw sportsgr_any reg12-reg19,  nohr robus
{txt}({res}est6{txt} stored)

{com}. esttab, se(%6.3f) b(%6.3f) star(* 0.1 ** 0.05 *** 0.01) keep(lnfarm1000_ipo lnfarm500_ipo lnavfsize_ipo)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}                       _t              _t              _t              _t              _t              _t   
{txt}{hline 108}
{txt}lnfarm1000~o{res}       -1.540***                                       -1.227*         -1.232***                {txt}
            {res} {ralign 12:{txt:(}0.374{txt:)}}                                    {ralign 12:{txt:(}0.650{txt:)}}    {ralign 12:{txt:(}0.462{txt:)}}                   {txt}

{txt}lnfarm500_~o{res}                       -2.172***                       -0.648                          -1.888***{txt}
            {res}                 {ralign 12:{txt:(}0.559{txt:)}}                    {ralign 12:{txt:(}1.077{txt:)}}                    {ralign 12:{txt:(}0.691{txt:)}}   {txt}

{txt}lnavfsize_~o{res}                                       -2.434**                        -1.346          -2.099*  {txt}
            {res}                                 {ralign 12:{txt:(}1.059{txt:)}}                    {ralign 12:{txt:(}1.256{txt:)}}    {ralign 12:{txt:(}1.247{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         1336            1336            1336            1336            1336            1336   {txt}
{txt}{hline 108}
{txt}Standard errors in parentheses
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. *Table A5: LPM Models
. eststo clear  
{txt}
{com}. eststo: quietly  regress wildlife propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any if year==1890, robust
{txt}({res}est1{txt} stored)

{com}. eststo: quietly  regress wildlife propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19 if year==1890, robust
{txt}({res}est2{txt} stored)

{com}. eststo: quietly  regress wildlife propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any if year==1900, robust
{txt}({res}est3{txt} stored)

{com}. eststo: quietly  regress wildlife propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19 if year==1900, robust
{txt}({res}est4{txt} stored)

{com}. esttab, se(%6.3f) b(%6.3f) star(* 0.1 ** 0.05 *** 0.01) r2 keep(propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}                 wildlife        wildlife        wildlife        wildlife   
{txt}{hline 76}
{txt}propwild_sum{res}        1.037***        0.000           0.610***        0.968***{txt}
            {res} {ralign 12:{txt:(}0.276{txt:)}}    {ralign 12:{txt:(}.{txt:)}}    {ralign 12:{txt:(}0.176{txt:)}}    {ralign 12:{txt:(}0.322{txt:)}}   {txt}

{txt}numb_agen_nw{res}        0.010          -0.003           0.070           0.054   {txt}
            {res} {ralign 12:{txt:(}0.044{txt:)}}    {ralign 12:{txt:(}0.061{txt:)}}    {ralign 12:{txt:(}0.084{txt:)}}    {ralign 12:{txt:(}0.079{txt:)}}   {txt}

{txt}lnfuiacres~o{res}        0.445***        0.444**         0.129           0.148   {txt}
            {res} {ralign 12:{txt:(}0.097{txt:)}}    {ralign 12:{txt:(}0.168{txt:)}}    {ralign 12:{txt:(}0.155{txt:)}}    {ralign 12:{txt:(}0.201{txt:)}}   {txt}

{txt}lnfarm1000~o{res}       -0.157***       -0.230***       -0.149          -0.264** {txt}
            {res} {ralign 12:{txt:(}0.051{txt:)}}    {ralign 12:{txt:(}0.080{txt:)}}    {ralign 12:{txt:(}0.094{txt:)}}    {ralign 12:{txt:(}0.125{txt:)}}   {txt}

{txt}lnfiacres_~o{res}       -0.154          -0.016           0.098           0.319** {txt}
            {res} {ralign 12:{txt:(}0.100{txt:)}}    {ralign 12:{txt:(}0.159{txt:)}}    {ralign 12:{txt:(}0.082{txt:)}}    {ralign 12:{txt:(}0.135{txt:)}}   {txt}

{txt}lnnfacres_~o{res}        0.016           0.059          -0.018          -0.050   {txt}
            {res} {ralign 12:{txt:(}0.054{txt:)}}    {ralign 12:{txt:(}0.072{txt:)}}    {ralign 12:{txt:(}0.048{txt:)}}    {ralign 12:{txt:(}0.062{txt:)}}   {txt}

{txt}lnpop_ipo   {res}       -0.022          -0.037          -0.136          -0.095   {txt}
            {res} {ralign 12:{txt:(}0.107{txt:)}}    {ralign 12:{txt:(}0.139{txt:)}}    {ralign 12:{txt:(}0.142{txt:)}}    {ralign 12:{txt:(}0.177{txt:)}}   {txt}

{txt}prurb100k_~o{res}        0.002           0.003           0.008           0.008   {txt}
            {res} {ralign 12:{txt:(}0.006{txt:)}}    {ralign 12:{txt:(}0.007{txt:)}}    {ralign 12:{txt:(}0.007{txt:)}}    {ralign 12:{txt:(}0.006{txt:)}}   {txt}

{txt}pernat_ipo  {res}       -0.005          -0.005          -0.005          -0.009   {txt}
            {res} {ralign 12:{txt:(}0.006{txt:)}}    {ralign 12:{txt:(}0.007{txt:)}}    {ralign 12:{txt:(}0.007{txt:)}}    {ralign 12:{txt:(}0.008{txt:)}}   {txt}

{txt}sportsgr_any{res}        0.012          -0.060          -0.148          -0.287*  {txt}
            {res} {ralign 12:{txt:(}0.099{txt:)}}    {ralign 12:{txt:(}0.146{txt:)}}    {ralign 12:{txt:(}0.138{txt:)}}    {ralign 12:{txt:(}0.153{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}           48              48              48              48   {txt}
{txt}R-sq        {res}        0.613           0.638           0.588           0.672   {txt}
{txt}{hline 76}
{txt}Standard errors in parentheses
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. sum wildlife if year==1890

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}wildlife {c |}{res}         48    .2291667    .4247444          0          1
{txt}
{com}. sum wildlife if year==1900

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}wildlife {c |}{res}         48        .625    .4892461          0          1
{txt}
{com}. 
. **Adding trespass law from source Trespass Laws.xlxs*
. generate trespass =4
{txt}
{com}. replace trespass = 1 if state=="Alabama" & year>=1907
{txt}(14 real changes made)

{com}. replace trespass =1 if state=="Connecticut"
{txt}(51 real changes made)

{com}. replace trespass =1 if state=="Delaware" & year>=1873
{txt}(48 real changes made)

{com}. replace trespass =2 if state=="Florida" & year>=1877
{txt}(44 real changes made)

{com}. replace trespass =1 if state=="Georgia" & year>=1911
{txt}(10 real changes made)

{com}. replace trespass =1 if state=="Illinois"
{txt}(51 real changes made)

{com}. replace trespass =1 if state=="Indiana" & year>=1905
{txt}(16 real changes made)

{com}. replace trespass =1 if state=="Iowa" & year<=1877
{txt}(8 real changes made)

{com}. replace trespass =1 if state=="Kansas" & year>=1907
{txt}(14 real changes made)

{com}. replace trespass =1 if state=="Maryland"
{txt}(51 real changes made)

{com}. replace trespass =3 if state=="Massachussetts" & year>=1884
{txt}(0 real changes made)

{com}. replace trespass =3 if state=="Mississippi" & year>=1892
{txt}(29 real changes made)

{com}. replace trespass =1 if state=="Nebraska" & year>=1901
{txt}(20 real changes made)

{com}. replace trespass =3 if state=="Nevada" & year>=1912
{txt}(9 real changes made)

{com}. replace trespass =1 if state=="New Jersey" & year<=1911
{txt}(42 real changes made)

{com}. replace trespass =3 if state=="New Jersey" & year>1911
{txt}(9 real changes made)

{com}. replace trespass =3 if state=="New Mexico" & year>=1912
{txt}(9 real changes made)

{com}. replace trespass =3 if state=="New York" & year>=1909
{txt}(12 real changes made)

{com}. replace trespass =3 if state=="North Carolina"
{txt}(51 real changes made)

{com}. replace trespass =3 if state=="North Dakota" & year>=1913
{txt}(8 real changes made)

{com}. replace trespass =2 if state=="Ohio" & year>=1879
{txt}(42 real changes made)

{com}. replace trespass =1 if state=="Ohio" & year>=1884
{txt}(37 real changes made)

{com}. replace trespass =2 if state=="Oklahoma" & year>=1909
{txt}(12 real changes made)

{com}. replace trespass =3 if state=="Rhode Island" & year>=1902
{txt}(19 real changes made)

{com}. replace trespass =3 if state=="South Carolina" & year<=1904
{txt}(35 real changes made)

{com}. replace trespass =1 if state=="South Carolina" & year>=1905
{txt}(16 real changes made)

{com}. replace trespass =2 if state=="South Dakota" & year>=1909
{txt}(12 real changes made)

{com}. replace trespass =3 if state=="Tennessee" & year>=1896
{txt}(25 real changes made)

{com}. replace trespass =1 if state=="Virginia"
{txt}(51 real changes made)

{com}. replace trespass =4 if state=="Virginia" & year>=1873
{txt}(48 real changes made)

{com}. replace trespass =3 if state=="Washington" & year >=1909
{txt}(12 real changes made)

{com}. replace trespass =2 if state=="Washington" & year >=1913
{txt}(8 real changes made)

{com}. replace trespass =2 if state=="Wisconsin" & year >=1897
{txt}(24 real changes made)

{com}. 
. gen permiss=0
{txt}
{com}. replace permiss=1 if trespass == 1
{txt}(381 real changes made)

{com}. gen posting =0
{txt}
{com}. replace posting =1 if trespass==2|trespass==3
{txt}(315 real changes made)

{com}. 
. *Table A7: Adding trespass laws
. eststo clear  
{txt}
{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any permiss posting,  nohr robust
{txt}({res}est1{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any lnprecip lnmeanelev permiss posting,  nohr robust
{txt}({res}est2{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any permiss posting reg12-reg19,  nohr robust
{txt}({res}est3{txt} stored)

{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any lnprecip lnmeanelev permiss posting reg12-reg19,  nohr robust
{txt}({res}est4{txt} stored)

{com}. esttab, se(%6.3f) b(%6.3f) star(* 0.1 ** 0.05 *** 0.01) keep(propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any lnprecip lnmeanelev permiss posting) 
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}                       _t              _t              _t              _t   
{txt}{hline 76}
{txt}propwild_sum{res}        1.747***        1.691***        2.063***        2.264***{txt}
            {res} {ralign 12:{txt:(}0.581{txt:)}}    {ralign 12:{txt:(}0.607{txt:)}}    {ralign 12:{txt:(}0.790{txt:)}}    {ralign 12:{txt:(}0.774{txt:)}}   {txt}

{txt}numb_agen_nw{res}        0.554***        0.654***        0.747***        0.717***{txt}
            {res} {ralign 12:{txt:(}0.207{txt:)}}    {ralign 12:{txt:(}0.219{txt:)}}    {ralign 12:{txt:(}0.266{txt:)}}    {ralign 12:{txt:(}0.266{txt:)}}   {txt}

{txt}lnfuiacres~o{res}        1.057**         1.150**         2.036***        2.197***{txt}
            {res} {ralign 12:{txt:(}0.503{txt:)}}    {ralign 12:{txt:(}0.485{txt:)}}    {ralign 12:{txt:(}0.761{txt:)}}    {ralign 12:{txt:(}0.853{txt:)}}   {txt}

{txt}lnfarm1000~o{res}       -0.513*         -0.481*         -1.412***       -1.278***{txt}
            {res} {ralign 12:{txt:(}0.284{txt:)}}    {ralign 12:{txt:(}0.282{txt:)}}    {ralign 12:{txt:(}0.373{txt:)}}    {ralign 12:{txt:(}0.370{txt:)}}   {txt}

{txt}lnfiacres_~o{res}       -0.208          -0.104           0.513           0.606   {txt}
            {res} {ralign 12:{txt:(}0.267{txt:)}}    {ralign 12:{txt:(}0.328{txt:)}}    {ralign 12:{txt:(}0.803{txt:)}}    {ralign 12:{txt:(}0.910{txt:)}}   {txt}

{txt}lnnfacres_~o{res}        0.044           0.222           0.094           0.109   {txt}
            {res} {ralign 12:{txt:(}0.199{txt:)}}    {ralign 12:{txt:(}0.254{txt:)}}    {ralign 12:{txt:(}0.506{txt:)}}    {ralign 12:{txt:(}0.471{txt:)}}   {txt}

{txt}lnpop_ipo   {res}       -0.022          -0.791          -0.352          -0.908   {txt}
            {res} {ralign 12:{txt:(}0.467{txt:)}}    {ralign 12:{txt:(}0.574{txt:)}}    {ralign 12:{txt:(}1.038{txt:)}}    {ralign 12:{txt:(}1.475{txt:)}}   {txt}

{txt}prurb100k_~o{res}        0.010           0.033           0.045           0.048   {txt}
            {res} {ralign 12:{txt:(}0.022{txt:)}}    {ralign 12:{txt:(}0.025{txt:)}}    {ralign 12:{txt:(}0.030{txt:)}}    {ralign 12:{txt:(}0.034{txt:)}}   {txt}

{txt}pernat_ipo  {res}       -0.033          -0.063**        -0.017          -0.043   {txt}
            {res} {ralign 12:{txt:(}0.022{txt:)}}    {ralign 12:{txt:(}0.026{txt:)}}    {ralign 12:{txt:(}0.048{txt:)}}    {ralign 12:{txt:(}0.048{txt:)}}   {txt}

{txt}sportsgr_any{res}       -0.373          -0.187          -1.233**        -0.786   {txt}
            {res} {ralign 12:{txt:(}0.406{txt:)}}    {ralign 12:{txt:(}0.419{txt:)}}    {ralign 12:{txt:(}0.553{txt:)}}    {ralign 12:{txt:(}0.824{txt:)}}   {txt}

{txt}permiss     {res}        0.798           1.131**         0.735           0.739   {txt}
            {res} {ralign 12:{txt:(}0.514{txt:)}}    {ralign 12:{txt:(}0.562{txt:)}}    {ralign 12:{txt:(}0.554{txt:)}}    {ralign 12:{txt:(}0.603{txt:)}}   {txt}

{txt}posting     {res}       -0.559          -0.266          -0.666          -0.550   {txt}
            {res} {ralign 12:{txt:(}0.642{txt:)}}    {ralign 12:{txt:(}0.522{txt:)}}    {ralign 12:{txt:(}0.624{txt:)}}    {ralign 12:{txt:(}0.737{txt:)}}   {txt}

{txt}lnprecip    {res}                        3.201***                        2.040   {txt}
            {res}                 {ralign 12:{txt:(}1.095{txt:)}}                    {ralign 12:{txt:(}2.366{txt:)}}   {txt}

{txt}lnmeanelev  {res}                        0.881**                         0.110   {txt}
            {res}                 {ralign 12:{txt:(}0.433{txt:)}}                    {ralign 12:{txt:(}0.637{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         1336            1336            1336            1336   {txt}
{txt}{hline 76}
{txt}Standard errors in parentheses
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. *****
. *Column 1 of Table 2 and Table A6: Placebo Regressions
. eststo clear 
{txt}
{com}. eststo: quietly stcox propwild_sum numb_agen_nw lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19,  hr robust
{txt}({res}est1{txt} stored)

{com}. 
. *Column 2 of Table 2 and Table A6: Placebo Regressions
. gen coast=0
{txt}
{com}. replace coast=1 if state=="Alabama"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="California"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Connecticut"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Delaware"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Florida"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Georgia"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Louisiana"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Maine"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Maryland"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Massachusetts"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Mississippi"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="New Hampshire"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="North Carolina"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Oregon"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Rhode Island"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="South Carolina"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Texas"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Virginia"
{txt}(51 real changes made)

{com}. replace coast=1 if state=="Washington"
{txt}(51 real changes made)

{com}. 
. stset year, id(STATEFIP) failure(fish==1)

                {txt}id:  {res}STATEFIP
     {txt}failure event:  {res}fish == 1
{txt}obs. time interval:  {res}(year[_n-1], year]
{txt} exit on or before:  {res}failure

{txt}{hline 78}
{res}      2,448{txt}  total observations
{res}      1,791{txt}  observations begin on or after (first) failure
{hline 78}
{res}        657{txt}  observations remaining, representing
{res}         48{txt}  subjects
{res}         47{txt}  failures in single-failure-per-subject data
{res}     90,369{txt}  total analysis time at risk and under observation
                                                at risk from t = {res}        0
                                     {txt}earliest observed entry t = {res}        0
                                          {txt}last observed exit t = {res}    1,920
{txt}
{com}. gen numb_agen_nf = ag + parks + health + forests + wildlife  
{txt}
{com}. 
. bys year region1: egen fish_sum = sum(fish)
{txt}
{com}. replace fish_sum=0 if fish_sum==.
{txt}(0 real changes made)

{com}. gen propfish_sum=0
{txt}
{com}. replace propfish_sum=fish_sum/6 if region1==1
{txt}(306 real changes made)

{com}. replace propfish_sum=fish_sum/3 if region1==2
{txt}(153 real changes made)

{com}. replace propfish_sum=fish_sum/5 if region1==3
{txt}(240 real changes made)

{com}. replace propfish_sum=fish_sum/7 if region1==4
{txt}(308 real changes made)

{com}. replace propfish_sum=fish_sum/4 if region1==6
{txt}(180 real changes made)

{com}. replace propfish_sum=fish_sum/4 if region1==7
{txt}(184 real changes made)

{com}. replace propfish_sum=fish_sum/8 if region1==8
{txt}(360 real changes made)

{com}. replace propfish_sum=fish_sum/3 if region1==9
{txt}(153 real changes made)

{com}. 
. eststo: quietly stcox propfish_sum numb_agen_nf lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19,  hr robust
{txt}({res}est2{txt} stored)

{com}. ****
. 
. stset year, id(STATEFIP) failure(forests==1)

                {txt}id:  {res}STATEFIP
     {txt}failure event:  {res}forests == 1
{txt}obs. time interval:  {res}(year[_n-1], year]
{txt} exit on or before:  {res}failure

{txt}{hline 78}
{res}      2,448{txt}  total observations
{res}        654{txt}  observations begin on or after (first) failure
{hline 78}
{res}      1,794{txt}  observations remaining, representing
{res}         48{txt}  subjects
{res}         37{txt}  failures in single-failure-per-subject data
{res}     91,506{txt}  total analysis time at risk and under observation
                                                at risk from t = {res}        0
                                     {txt}earliest observed entry t = {res}        0
                                          {txt}last observed exit t = {res}    1,920
{txt}
{com}. gen numb_agen_nfr = ag + parks + health + wildlife + fish 
{txt}
{com}. 
. bys year region1: egen forests_sum = sum(forests)
{txt}
{com}. replace forests_sum=0 if forests_sum==.
{txt}(0 real changes made)

{com}. gen propforests_sum=0
{txt}
{com}. replace propforests_sum=forests_sum/6 if region1==1
{txt}(186 real changes made)

{com}. replace propforests_sum=forests_sum/3 if region1==2
{txt}(111 real changes made)

{com}. replace propforests_sum=forests_sum/5 if region1==3
{txt}(175 real changes made)

{com}. replace propforests_sum=forests_sum/7 if region1==4
{txt}(210 real changes made)

{com}. replace propforests_sum=forests_sum/4 if region1==6
{txt}(60 real changes made)

{com}. replace propforests_sum=forests_sum/4 if region1==7
{txt}(68 real changes made)

{com}. replace propforests_sum=forests_sum/8 if region1==8
{txt}(360 real changes made)

{com}. replace propforests_sum=forests_sum/3 if region1==9
{txt}(66 real changes made)

{com}. 
. eststo: quietly stcox propforests_sum numb_agen_nfr lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19,  hr robust
{txt}({res}est3{txt} stored)

{com}. 
. stset year, id(STATEFIP) failure(ag==1)

                {txt}id:  {res}STATEFIP
     {txt}failure event:  {res}ag == 1
{txt}obs. time interval:  {res}(year[_n-1], year]
{txt} exit on or before:  {res}failure

{txt}{hline 78}
{res}      2,448{txt}  total observations
{res}      1,662{txt}  observations begin on or after (first) failure
{hline 78}
{res}        786{txt}  observations remaining, representing
{res}         48{txt}  subjects
{res}         47{txt}  failures in single-failure-per-subject data
{res}     90,498{txt}  total analysis time at risk and under observation
                                                at risk from t = {res}        0
                                     {txt}earliest observed entry t = {res}        0
                                          {txt}last observed exit t = {res}    1,920
{txt}
{com}. gen numb_agen_na = forests + parks + health + wildlife + fish
{txt}
{com}. 
. bys year region1: egen ag_sum = sum(ag)
{txt}
{com}. replace ag_sum=0 if ag_sum==.
{txt}(0 real changes made)

{com}. gen propag_sum=0
{txt}
{com}. replace propag_sum=ag_sum/6 if region1==1
{txt}(306 real changes made)

{com}. replace propag_sum=ag_sum/3 if region1==2
{txt}(147 real changes made)

{com}. replace propag_sum=ag_sum/5 if region1==3
{txt}(255 real changes made)

{com}. replace propag_sum=ag_sum/7 if region1==4
{txt}(357 real changes made)

{com}. replace propag_sum=ag_sum/4 if region1==6
{txt}(204 real changes made)

{com}. replace propag_sum=ag_sum/4 if region1==7
{txt}(164 real changes made)

{com}. replace propag_sum=ag_sum/8 if region1==8
{txt}(352 real changes made)

{com}. replace propag_sum=ag_sum/3 if region1==9
{txt}(123 real changes made)

{com}. 
. eststo: quietly stcox propag_sum numb_agen_na lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19,  hr robust
{txt}({res}est4{txt} stored)

{com}. 
. stset year, id(STATEFIP) failure(health==1)

                {txt}id:  {res}STATEFIP
     {txt}failure event:  {res}health == 1
{txt}obs. time interval:  {res}(year[_n-1], year]
{txt} exit on or before:  {res}failure

{txt}{hline 78}
{res}      2,448{txt}  total observations
{res}      1,739{txt}  observations begin on or after (first) failure
{hline 78}
{res}        709{txt}  observations remaining, representing
{res}         48{txt}  subjects
{res}         48{txt}  failures in single-failure-per-subject data
{res}     90,421{txt}  total analysis time at risk and under observation
                                                at risk from t = {res}        0
                                     {txt}earliest observed entry t = {res}        0
                                          {txt}last observed exit t = {res}    1,919
{txt}
{com}. gen numb_agen_nh = forests + parks + ag + wildlife + fish
{txt}
{com}. 
. bys year region1: egen health_sum = sum(health)
{txt}
{com}. replace health_sum=0 if health_sum==.
{txt}(0 real changes made)

{com}. gen prophealth_sum=0
{txt}
{com}. replace prophealth_sum=health_sum/6 if region1==1
{txt}(306 real changes made)

{com}. replace prophealth_sum=health_sum/3 if region1==2
{txt}(132 real changes made)

{com}. replace prophealth_sum=health_sum/5 if region1==3
{txt}(240 real changes made)

{com}. replace prophealth_sum=health_sum/7 if region1==4
{txt}(343 real changes made)

{com}. replace prophealth_sum=health_sum/4 if region1==6
{txt}(184 real changes made)

{com}. replace prophealth_sum=health_sum/4 if region1==7
{txt}(204 real changes made)

{com}. replace prophealth_sum=health_sum/8 if region1==8
{txt}(352 real changes made)

{com}. replace prophealth_sum=health_sum/3 if region1==9
{txt}(153 real changes made)

{com}. 
. eststo: quietly stcox prophealth_sum numb_agen_nh lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19,  hr robust
{txt}({res}est5{txt} stored)

{com}. 
. stset year, id(STATEFIP) failure(parks==1)

                {txt}id:  {res}STATEFIP
     {txt}failure event:  {res}parks == 1
{txt}obs. time interval:  {res}(year[_n-1], year]
{txt} exit on or before:  {res}failure

{txt}{hline 78}
{res}      2,448{txt}  total observations
{res}        235{txt}  observations begin on or after (first) failure
{hline 78}
{res}      2,213{txt}  observations remaining, representing
{res}         48{txt}  subjects
{res}         19{txt}  failures in single-failure-per-subject data
{res}     91,925{txt}  total analysis time at risk and under observation
                                                at risk from t = {res}        0
                                     {txt}earliest observed entry t = {res}        0
                                          {txt}last observed exit t = {res}    1,920
{txt}
{com}. gen numb_agen_np = forests + health + ag + wildlife + fish
{txt}
{com}. 
. bys year region1: egen parks_sum = sum(parks)
{txt}
{com}. replace parks_sum=0 if parks_sum==.
{txt}(0 real changes made)

{com}. gen propparks_sum=0
{txt}
{com}. replace propparks_sum=parks_sum/6 if region1==1
{txt}(168 real changes made)

{com}. replace propparks_sum=parks_sum/3 if region1==2
{txt}(84 real changes made)

{com}. replace propparks_sum=parks_sum/5 if region1==3
{txt}(135 real changes made)

{com}. replace propparks_sum=parks_sum/7 if region1==4
{txt}(252 real changes made)

{com}. replace propparks_sum=parks_sum/4 if region1==6
{txt}(0 real changes made)

{com}. replace propparks_sum=parks_sum/4 if region1==7
{txt}(0 real changes made)

{com}. replace propparks_sum=parks_sum/8 if region1==8
{txt}(112 real changes made)

{com}. replace propparks_sum=parks_sum/3 if region1==9
{txt}(24 real changes made)

{com}. 
. eststo: quietly stcox propparks_sum numb_agen_np lnfuiacres_ipo lnfarm1000_ipo lnfiacres_ipo  lnnfacres_ipo lnpop_ipo prurb100k_ipo pernat_ipo sportsgr_any reg12-reg19,  hr robust
{txt}({res}est6{txt} stored)

{com}. 
. esttab, se(%6.3f) b(%6.3f) star(* 0.1 ** 0.05 *** 0.01) 
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}                       _t              _t              _t              _t              _t              _t   
{txt}{hline 108}
{txt}propwild_sum{res}        2.061***                                                                                {txt}
            {res} {ralign 12:{txt:(}0.774{txt:)}}                                                                                   {txt}

{txt}numb_agen_nw{res}        0.699**                                                                                 {txt}
            {res} {ralign 12:{txt:(}0.272{txt:)}}                                                                                   {txt}

{txt}lnfuiacres~o{res}        1.960**         0.712           0.303           0.332          -0.002          -0.102   {txt}
            {res} {ralign 12:{txt:(}0.778{txt:)}}    {ralign 12:{txt:(}0.527{txt:)}}    {ralign 12:{txt:(}0.886{txt:)}}    {ralign 12:{txt:(}0.453{txt:)}}    {ralign 12:{txt:(}0.396{txt:)}}    {ralign 12:{txt:(}1.578{txt:)}}   {txt}

{txt}lnfarm1000~o{res}       -1.540***       -0.284           0.027           0.205          -0.039          -1.078** {txt}
            {res} {ralign 12:{txt:(}0.374{txt:)}}    {ralign 12:{txt:(}0.207{txt:)}}    {ralign 12:{txt:(}0.350{txt:)}}    {ralign 12:{txt:(}0.176{txt:)}}    {ralign 12:{txt:(}0.232{txt:)}}    {ralign 12:{txt:(}0.507{txt:)}}   {txt}

{txt}lnfiacres_~o{res}        0.827           0.459          -0.378          -0.484          -0.513          -0.114   {txt}
            {res} {ralign 12:{txt:(}0.730{txt:)}}    {ralign 12:{txt:(}0.374{txt:)}}    {ralign 12:{txt:(}0.638{txt:)}}    {ralign 12:{txt:(}0.423{txt:)}}    {ralign 12:{txt:(}0.397{txt:)}}    {ralign 12:{txt:(}2.090{txt:)}}   {txt}

{txt}lnnfacres_~o{res}        0.015          -0.415**         0.483           0.248          -0.205          -0.506   {txt}
            {res} {ralign 12:{txt:(}0.438{txt:)}}    {ralign 12:{txt:(}0.210{txt:)}}    {ralign 12:{txt:(}0.311{txt:)}}    {ralign 12:{txt:(}0.234{txt:)}}    {ralign 12:{txt:(}0.203{txt:)}}    {ralign 12:{txt:(}0.963{txt:)}}   {txt}

{txt}lnpop_ipo   {res}       -0.370          -0.728          -0.163           0.239           1.387***        2.240   {txt}
            {res} {ralign 12:{txt:(}1.013{txt:)}}    {ralign 12:{txt:(}0.446{txt:)}}    {ralign 12:{txt:(}0.490{txt:)}}    {ralign 12:{txt:(}0.489{txt:)}}    {ralign 12:{txt:(}0.519{txt:)}}    {ralign 12:{txt:(}1.519{txt:)}}   {txt}

{txt}prurb100k_~o{res}        0.045          -0.006          -0.042          -0.034          -0.020           0.037   {txt}
            {res} {ralign 12:{txt:(}0.029{txt:)}}    {ralign 12:{txt:(}0.028{txt:)}}    {ralign 12:{txt:(}0.036{txt:)}}    {ralign 12:{txt:(}0.032{txt:)}}    {ralign 12:{txt:(}0.029{txt:)}}    {ralign 12:{txt:(}0.032{txt:)}}   {txt}

{txt}pernat_ipo  {res}       -0.023          -0.069**        -0.028          -0.012          -0.157***       -0.007   {txt}
            {res} {ralign 12:{txt:(}0.044{txt:)}}    {ralign 12:{txt:(}0.032{txt:)}}    {ralign 12:{txt:(}0.051{txt:)}}    {ralign 12:{txt:(}0.042{txt:)}}    {ralign 12:{txt:(}0.042{txt:)}}    {ralign 12:{txt:(}0.117{txt:)}}   {txt}

{txt}sportsgr_any{res}       -1.103**         0.950**         1.667***        1.423**        -1.255**        -3.882** {txt}
            {res} {ralign 12:{txt:(}0.477{txt:)}}    {ralign 12:{txt:(}0.485{txt:)}}    {ralign 12:{txt:(}0.576{txt:)}}    {ralign 12:{txt:(}0.672{txt:)}}    {ralign 12:{txt:(}0.602{txt:)}}    {ralign 12:{txt:(}1.544{txt:)}}   {txt}

{txt}reg12       {res}       -3.049*          1.217           1.331           0.214          -1.318          -4.961   {txt}
            {res} {ralign 12:{txt:(}1.680{txt:)}}    {ralign 12:{txt:(}0.787{txt:)}}    {ralign 12:{txt:(}1.153{txt:)}}    {ralign 12:{txt:(}1.365{txt:)}}    {ralign 12:{txt:(}0.812{txt:)}}    {ralign 12:{txt:(}3.885{txt:)}}   {txt}

{txt}reg13       {res}       -3.026*          0.386           0.255          -0.928          -1.099          -1.844   {txt}
            {res} {ralign 12:{txt:(}1.787{txt:)}}    {ralign 12:{txt:(}1.087{txt:)}}    {ralign 12:{txt:(}1.268{txt:)}}    {ralign 12:{txt:(}0.903{txt:)}}    {ralign 12:{txt:(}0.902{txt:)}}    {ralign 12:{txt:(}5.244{txt:)}}   {txt}

{txt}reg14       {res}       -1.620           0.639          -0.294          -0.870           0.961           3.699   {txt}
            {res} {ralign 12:{txt:(}2.347{txt:)}}    {ralign 12:{txt:(}1.317{txt:)}}    {ralign 12:{txt:(}1.107{txt:)}}    {ralign 12:{txt:(}1.150{txt:)}}    {ralign 12:{txt:(}1.003{txt:)}}    {ralign 12:{txt:(}6.288{txt:)}}   {txt}

{txt}reg15       {res}       -0.771           5.068***        1.626           1.640           4.734***        2.322   {txt}
            {res} {ralign 12:{txt:(}2.053{txt:)}}    {ralign 12:{txt:(}1.602{txt:)}}    {ralign 12:{txt:(}1.092{txt:)}}    {ralign 12:{txt:(}1.288{txt:)}}    {ralign 12:{txt:(}0.873{txt:)}}    {ralign 12:{txt:(}4.927{txt:)}}   {txt}

{txt}reg16       {res}       -2.604           1.964          -0.020          -0.731           2.396**       -34.171***{txt}
            {res} {ralign 12:{txt:(}2.144{txt:)}}    {ralign 12:{txt:(}1.627{txt:)}}    {ralign 12:{txt:(}1.218{txt:)}}    {ralign 12:{txt:(}1.125{txt:)}}    {ralign 12:{txt:(}1.083{txt:)}}    {ralign 12:{txt:(}5.560{txt:)}}   {txt}

{txt}reg17       {res}       -2.270           3.076**        -0.759          -0.792           3.388***      -34.224***{txt}
            {res} {ralign 12:{txt:(}2.233{txt:)}}    {ralign 12:{txt:(}1.283{txt:)}}    {ralign 12:{txt:(}1.408{txt:)}}    {ralign 12:{txt:(}1.257{txt:)}}    {ralign 12:{txt:(}0.879{txt:)}}    {ralign 12:{txt:(}6.056{txt:)}}   {txt}

{txt}reg18       {res}       -0.031           3.350***       -2.219          -0.708          -0.971           3.923   {txt}
            {res} {ralign 12:{txt:(}2.615{txt:)}}    {ralign 12:{txt:(}1.183{txt:)}}    {ralign 12:{txt:(}1.357{txt:)}}    {ralign 12:{txt:(}1.412{txt:)}}    {ralign 12:{txt:(}1.526{txt:)}}    {ralign 12:{txt:(}4.704{txt:)}}   {txt}

{txt}reg19       {res}        2.506           2.075*         -1.045          -1.112          -0.756           4.048   {txt}
            {res} {ralign 12:{txt:(}2.236{txt:)}}    {ralign 12:{txt:(}1.156{txt:)}}    {ralign 12:{txt:(}1.267{txt:)}}    {ralign 12:{txt:(}1.092{txt:)}}    {ralign 12:{txt:(}1.144{txt:)}}    {ralign 12:{txt:(}5.112{txt:)}}   {txt}

{txt}propfish_sum{res}                        4.726***                                                                {txt}
            {res}                 {ralign 12:{txt:(}1.270{txt:)}}                                                                   {txt}

{txt}numb_agen_nf{res}                        0.604**                                                                 {txt}
            {res}                 {ralign 12:{txt:(}0.274{txt:)}}                                                                   {txt}

{txt}propforest~m{res}                                        5.712***                                                {txt}
            {res}                                 {ralign 12:{txt:(}1.593{txt:)}}                                                   {txt}

{txt}numb_agen_~r{res}                                        0.203                                                   {txt}
            {res}                                 {ralign 12:{txt:(}0.340{txt:)}}                                                   {txt}

{txt}propag_sum  {res}                                                        4.515***                                {txt}
            {res}                                                 {ralign 12:{txt:(}1.316{txt:)}}                                   {txt}

{txt}numb_agen_na{res}                                                        0.228                                   {txt}
            {res}                                                 {ralign 12:{txt:(}0.271{txt:)}}                                   {txt}

{txt}prophealth~m{res}                                                                        4.616***                {txt}
            {res}                                                                 {ralign 12:{txt:(}1.065{txt:)}}                   {txt}

{txt}numb_agen_nh{res}                                                                        0.765***                {txt}
            {res}                                                                 {ralign 12:{txt:(}0.296{txt:)}}                   {txt}

{txt}propparks_~m{res}                                                                                        8.555***{txt}
            {res}                                                                                 {ralign 12:{txt:(}2.651{txt:)}}   {txt}

{txt}numb_agen_np{res}                                                                                        0.564   {txt}
            {res}                                                                                 {ralign 12:{txt:(}0.546{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         1336             597            1734             728             653            2153   {txt}
{txt}{hline 108}
{txt}Standard errors in parentheses
{txt}* p<0.1, ** p<0.05, *** p<0.01

{com}. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}D:\Dropbox\Dropbox\Lueck and Parker\JAERE submission\Final Version 2024\Data and Code for Replication\Log Files\Tables 1, 2 and A2-A7 and Figure A2.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 5 Nov 2024, 12:55:49
{txt}{.-}
{smcl}
{txt}{sf}{ul off}